package com.xuecheng.manage_course.dao;

import com.xuecheng.framework.domain.course.Teachplan;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author jl
 * @description
 * @date 2019-08-22 14:41
 */
public interface TeachPlanRepository extends JpaRepository<Teachplan,String> {

    List<Teachplan> findByCourseidAndParentid(String courseId,String parentId);

    List<Teachplan> findByCourseid(String courseId);
}
